package com.example.wyemail;

import com.example.wyemail.MySwing.MainFrame;
import com.example.wyemail.MySwing.MyJDialog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.swing.*;
import java.awt.*;

@SpringBootApplication
public class WyEmailApplication {

    public static void main(String[] args) {
        /*SpringApplication.run(WyEmailApplication.class, args);*/
        SwingUtilities.invokeLater(() -> {
            Frame frame = new Frame();
            MyJDialog dialog = new MyJDialog(frame);
            dialog.setVisible(true);
        });
    }
}
